<%@ page import="bean.User" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="java.util.Map" %><%--
  Created by IntelliJ IDEA.
  User: 蒋缇
  Date: 2020/9/16
  Time: 21:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    User user=(User)request.getSession().getAttribute("user");
%>
<html>
<head>
    <title>登录账号</title>
    <link rel="stylesheet"  href="css/bootstrap.min.css"/>
    <script src="js/jquery-3.1.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script language="JavaScript" src="js/loginPage.js"></script>
    <link rel="stylesheet" href="css/allStyle.css">
</head>
<body style="background-image: url('images/magic1.jpg'); background-size: cover;">
<div class="center-block">
        <br><br><br><br><br><br><br>
    <div class="col-lg-4"></div>
    <div class="col-lg-4">
        <form class="form-horizontal" id="form" action="LoginServlet" method="post">
            <div class="form-group">
                <label for="account" class="col-sm-2 control-label">账号</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="userAccount" id="account" placeholder="Account">
                </div>
            </div>
            <div class="form-group">
                <label for="password" class="col-sm-2 control-label">密码</label>
                <div class="col-sm-10">
                    <input type="password" id="password" name="userPassword"class="form-control" placeholder="Password">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox"> 记住密码
                        </label>
                    </div>
                </div>
            </div>
        </form>
        <div class="col-sm-offset-2 col-sm-10">
            <button  id="loginButton" onclick="isNull()" class="btn btn-default">登陆</button>
            <a  class="btn btn-default" href="index.jsp">返回</a>
        </div>
    </div>
    <div class="col-lg-4"></div>
</div>
</body>
</html>
